﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Primary.Master" AutoEventWireup="true" CodeBehind="Thread.aspx.cs" Inherits="OTPlus.Thread" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<table style="border-width:0px;">
    <tr>
        <td style="width:80px; float:left; font-size:10px;">
        <img style="padding-left:0px; text-align:right; width:85px;" src="../Images/drinkguy.png" alt="" />
        </td>
        <td style="padding-left:15px; width:100%;">
        <div style="position:relative; font-size:18px; height:80px;">
        <asp:Label runat="server" id="lblTitle"></asp:Label>
            <div style="float:left; position:absolute; bottom:0; width:100%;">
                <asp:Menu runat="server" ID="menuPagesTop" Orientation="Horizontal" 
                    RenderingMode="List" BackColor="#E3EAEB" DynamicHorizontalOffset="2" 
                    Font-Names="Verdana" Font-Size="0.8em" ForeColor="#666666" 
                    StaticSubMenuIndent="10px">
                    <DynamicHoverStyle BackColor="#666666" ForeColor="White" />
                    <DynamicMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
                    <DynamicMenuStyle BackColor="#E3EAEB" />
                    <DynamicSelectedStyle BackColor="#1C5E55" />
                    <StaticHoverStyle BackColor="#666666" ForeColor="White" />
                    <StaticMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
                    <StaticSelectedStyle BackColor="#1C5E55" />
                </asp:Menu>
            </div>
        </div>
        </td>
    </tr>
</table>
<asp:Repeater runat="server" ID="repeaterComments">
    <HeaderTemplate>
        <table>
    </HeaderTemplate>
    <ItemTemplate>
        <tr style="background-color:#e5e7ee;">
            <td style="width:80px; float:left; font-size:10px; padding-left:5px;">
                <img alt="" src="<%# ((OTPlus.Core.Content.Comment)Container.DataItem).Actor.Image %>" />
                <br />
                <%# ((OTPlus.Core.Content.Comment)Container.DataItem).Actor.Name %>
            </td>
            <td style="background-color:#f1f1f1; width:100%;">
                <div style="text-align:right; font-style:italic; font-size:9px; color:#B0B0B0">
                <%# ((OTPlus.Core.Content.Comment)Container.DataItem).Published.ToString() %>
                </div>
                <div style="background-color:white; width:100%; height:1px;">
                </div>
                <%# ((OTPlus.Core.Content.Comment)Container.DataItem).Content%>
                <br />
                <br />
                <br />
                <div style="text-align:right; vertical-align:bottom;">
                <img src="../Images/Icons/comment_new.gif" alt="" />
                <img src="../Images/Icons/comment_yellow.gif" alt="" />                
                </div>
            </td>
        </tr>
    </ItemTemplate>
    <FooterTemplate>
        </table>
    </FooterTemplate>
</asp:Repeater>
<div style="float:right; width:100%;">
    <asp:Menu runat="server" ID="menuPagesBottom" Orientation="Horizontal" 
        RenderingMode="List" BackColor="#E3EAEB" DynamicHorizontalOffset="2" 
        Font-Names="Verdana" Font-Size="0.8em" ForeColor="#666666" 
        StaticSubMenuIndent="10px">
        <DynamicHoverStyle BackColor="#666666" ForeColor="White" />
        <DynamicMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
        <DynamicMenuStyle BackColor="#E3EAEB" />
        <DynamicSelectedStyle BackColor="#1C5E55" />
        <StaticHoverStyle BackColor="#666666" ForeColor="White" />
        <StaticMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
        <StaticSelectedStyle BackColor="#1C5E55" />
    </asp:Menu>
</div>
</asp:Content>
